//1.医院设置中 获取分页列表请求的 参数类型
export interface getHosSetListParamsType {
    page: number,
    limit: number,
    hosname?: string,
    hoscode?: string
}
//返回数据中records的每一项类型
export interface getHosSetListItemsType {
    id: number,
    createTime: string,
    updateTime: string,
    isDeleted: number,
    param: object,
    hosname: string,
    hoscode: string,
    apiUrl: string,
    signKey: string,
    contactsPhone: string,
    status: 0 | 1
}
//返回数据records的类型
export type getHosSetListRecordsType = getHosSetListItemsType[];

//获取医院设置分页数据的返回值类型
export interface getHosSetListReturnType {
    records: getHosSetListRecordsType,
    total: number,
    size: number,
    current: number,
    orders: any[],
    hitCount: boolean,
    searchCount: boolean,
    pages: number
}
//新增医院参数类型
export interface addHospitalParamType {
    hosname: string,
    hoscode: string,
    apiUrl: string,
    contactsName: string,
    contactsPhone: string,
}
//4.修改医院api请求的参数类型 比新增的时候多一个id
export interface updateHospitalFromIdParamType extends addHospitalParamType{
    id:string
}